package com.Threecharacters.inherit_.Super;

public class Super1 {
    public static void main(String[] args) {
        B b = new B();
        //B b = new B();
        //b.say();

        //访问父类的n1
        b.f1();
        System.out.println(b.n1);//直接访问
    }
}

